{include file="pub:header" /}
</head>
<body>

<div class="pad_lr_10" >
	<form action="{:url('edit')}" method="post" id="formpost">
	<input type="hidden" name="id" value="{$info['id']}">
    <table width="100%" cellspacing="0" class="table_form">
        <tbody>
			<tr>
				<th><font color="red">*</font> 登录账号：</th>
				<td>
					<input name="account" type="text" value="{$info['account']}" class="input-text" size="50">
					<span class="red ml5">手机号码</span>
				</td>
			</tr>

			<tr>
				<th>邮箱账号：</th>
				<td>
					<input name="email" type="input" value="{$info['email']}" class="input-text" size="50">
				</td>
			</tr>

			<tr>
				<th>姓名：</th>
				<td>
					<input name="name" type="input" value="{$info['name']}" class="input-text" size="50">
				</td>
			</tr>

			<tr>
				<th>昵称：</th>
				<td>
					<input name="nick" type="input" value="{$info['nick']}" class="input-text" size="50">
				</td>
			</tr>

			<tr>
				<th>性别：</th>
				<td>
					<label><input name="sex" type="radio" value="0"<?php echo (!$info || 0==$info['sex'])?' checked':'';?>>保密</label>&nbsp;&nbsp;
					<label><input name="sex" type="radio" value="1"<?php echo (1==$info['sex'])?' checked':'';?>>男</label>&nbsp;&nbsp;
					<label><input name="sex" type="radio" value="2"<?php echo (2==$info['sex'])?' checked':'';?>>女</label>
				</td>
			</tr>

			<tr>
			  <th>备注信息：</th>
			  <td>
			    <textarea name="remark" style="width:500px;height:50px" class="input-text">{$info['info']}</textarea>
				<br/><span class="gray">100个字符以内</span>
			  </td>
			</tr>
        </tbody>
    </table>
    </form>
</div>

<div class="fix_h" style="height:54px;">
	<div class="mt10" style="position: fixed;z-index: 9999;width: 100%;text-align:center;bottom: 0px;background:#ccc;height:54px;overflow:hidden;">
		<input type="button" value="<?php echo !$info?'添加':'修改'?>" onclick="ajaxpost('formpost')" id="dosubmit" name="dosubmit" class="smt mr10" style="margin-top:12px;display:inline-block;float:none;">
	</div>
</div>


<include file="Public:footer" />
